package net.guerlab.credits.usercredits.entity;

import net.guerlab.commons.searchparams.AbstractSearchParams;

/**
 * 用户积分搜索参数
 * 
 * @author guer
 *
 */
public class UserCreditsSearchParams extends AbstractSearchParams {

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 积分ID
     */
    private Integer creditId;

    /**
     * 获取用户ID
     * 
     * @return 用户ID
     */
    public final String getUserId() {
        return userId;
    }

    /**
     * 设置用户ID
     * 
     * @param userId
     *            用户ID
     */
    public final void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 获取积分ID
     * 
     * @return 积分ID
     */
    public final Integer getCreditId() {
        return creditId;
    }

    /**
     * 设置积分ID
     * 
     * @param creditId
     *            积分ID
     */
    public final void setCreditId(Integer creditId) {
        this.creditId = creditId;
    }
}
